home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / asm / conv_a11.zip / CONV_A.DOC < prev    next >
Text File  |  1989-11-06  |  2KB  |  52 lines

  1. CONV_A v1.1    Convert assembly language instructions to lower case,
  2.         If MASM-peculiar reserved words, convert to upper case
  3.  
  4. Usage:  CONV_A [[-][/]U][L] file1[.typ]
  5.  
  6. Switches:
  7.  -u, -U, /u, or /U : uppercase ALL reserved words
  8.  -l, -L, /l, or /L : lowercase MASM reserved words and ASM instructions
  9.  
  10. Source filename file1 will be forced to .ASM if no type is given.
  11. Formatted output filename forced to FILE1.FMT
  12. Wildcards may be used for file1.typ
  13.  
  14.  
  15. Notes:
  16.  
  17.      I find I do better reading and understanding assembly language
  18. source (as in any other language) if its columns and reserved word
  19. case fit a "standard" format.
  20.  
  21.      I prefer lower case for instructions and "normal" registers
  22. (ax, bx, cx, dx, si, di, bp, sp); and upper case for MASM directives
  23. and "special" registers (CS, DS, SS).
  24.  
  25.      If you don't like this, use one of the command line switches
  26. to produce something different:
  27.  
  28.  
  29.      Running assembly language source files with mixed-case reserved
  30. words through this utility fixes the case up.  In conjunction with a
  31. retabbing utility (TOADSOFT), I end up with a file I can deal with
  32. MUCH better.  (And it saves me a BUNCH of global search/replace in
  33. my editor.)
  34.  
  35.      Hope you find it useful.  Full Turbo Pascal v5.0 and MASM-compatible
  36. assembly language source is provided.
  37.  
  38.      You may find this quite similar to my UPCONV program (which does
  39. basically the same thing with Pascal source).  No wonder .. this is a
  40. hacked version of UPCONV.  Just had to handle comments differently.
  41.  
  42. David Kirschbaum
  43. Toad Hall
  44. kirsch@arsocomvax.socom.mil
  45.  
  46. v1.1, 5 Nov 89, Toad Hall
  47.   - Bug in TOKSTR_A.PAS, wasn't consistently producing lines of tokens
  48.     with leading/trailing spaces.
  49.   - Tightened up the POSBM.ASM function a wee little bit.
  50.   - Converted the Uc string uppercase conversion function to an EXTERNAL one.
  51.   - Carved a few deciseconds off a typical run .. nothing significant.
  52.